


void createlisTtail(Linklist *L, int n);
{
     Linklist p,r;
     int i;

     srand(time(0));

     *L = (Linklist)malloc(sizeof(node));  
      r = *L; 

      for (i = 0;i < n;i++)
      { 	      
         p =(Linklist)malloc(sizeof(node));
         p->data = rand() % 100 +1;
         r->next = p;
         r = p;
      }
         r->next = NULL;
}
